function pop = encodiQ(popsize,length,dimension)
pop=[];
%se generan univesos deacuerdo a la cantidad de variables 
%fprintf('entree..')
%round(rand(popsize,dimension*length+1));
 for i=1:dimension
    pop{i}=round(rand(popsize,dimension*length+1));
 end
end